#ifndef KZFQGRAPHICSVIEW_H
#define KZFQGRAPHICSVIEW_H


#include <QGraphicsView>
#include <QDropEvent>

class kzfQGraphicsView : public QGraphicsView
{
    Q_OBJECT
public:
    explicit kzfQGraphicsView(QWidget *parent = nullptr);
    explicit kzfQGraphicsView(QGraphicsScene *scene, QWidget *parent = nullptr);

public slots:

    void mousePressEvent(QMouseEvent *event);       //
    void mouseReleaseEvent(QMouseEvent *event);     //
    void mouseMoveEvent(QMouseEvent *event);        //

    // void enterEvent(QEvent *event);            //
    // void leaveEvent(QEvent *event);            //

signals:
    void SmouseLeftPress(QMouseEvent *event);
    void SmouseRigthPress(QMouseEvent *event);
    void SmouseRelease(QMouseEvent *event);
    void SmouseMove(QMouseEvent *event);
};

#endif // KZFQGRAPHICSVIEW_H
